package com.yricky.memoria

import android.app.Application
import com.yricky.memoria.utils.ExceptionHandlerProxy
import java.util.concurrent.LinkedBlockingQueue
import java.util.concurrent.ThreadPoolExecutor
import java.util.concurrent.TimeUnit

/**
 * @author Yricky
 * @date 2021/11/21
 */
class MemoriaApp:Application() {
    companion object{
        lateinit var inst:MemoriaApp
            private set
    }

    override fun onCreate() {
        super.onCreate()
        inst = this
        Thread.setDefaultUncaughtExceptionHandler(ExceptionHandlerProxy(Thread.getDefaultUncaughtExceptionHandler()))
    }
}

